/**
 * Sonatype Nexus (TM) Open Source Version
 * Copyright (c) 2008-present Sonatype, Inc.
 * All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.
 *
 * This program and the accompanying materials are made available under the terms of the Eclipse Public License Version 1.0,
 * which accompanies this distribution and is available at http://www.eclipse.org/legal/epl-v10.html.
 *
 * Sonatype Nexus (TM) Professional Version is available from Sonatype, Inc. "Sonatype" and "Sonatype Nexus" are trademarks
 * of Sonatype, Inc. Apache Maven is a trademark of the Apache Software Foundation. M2eclipse is a trademark of the
 * Eclipse Foundation. All other trademarks are the property of their respective owners.
 */
.nxrm-react-footer-container {

  .nx-alert {
    margin: 0;
    max-width: none;
  }

  .nx-alert__content {
    p {
      margin-bottom: var(--nx-spacing-2x);
    }

    p:last-child {
      margin-bottom: 0;
    }
  }

  .nx-alert--error {
    .nx-alert__content {
      display: flex;
      gap: var(--nx-spacing-4x);

      &>:last-child {
        margin: 0 0 0 auto;
      }

      .nxrm-learn-about-link {
        background-color: var(--nx-swatch-white);
        border: 1px solid var(--nx-swatch-blue-40);
        border-radius: 6px;
        color: var(--nx-swatch-blue-40);
        cursor: pointer;
        display: inline-block;
        font-family: var(--nx-font-family);
        font-weight: 600;
        padding: calc(var(--nx-spacing-2x) - 1px) calc(var(--nx-spacing-6x) - 1px);
        text-align: center;
        text-decoration: none;
        white-space: nowrap;

        &:active {
          background-color: var(--nx-swatch-blue-95);
        }

        &:hover {
          background-color: var(--nx-swatch-blue-90);
        }

        &:focus {
          border: 1px solid var(--nx-color-interactive-border-focus);
          box-shadow: var(--nx-box-shadow-focus);
          outline: 0;
        }
      }
    }
  }
}
